package day08;

public class Animal {
    private String color;
    public int age;

    public String getColor(){
        return this.color;
    }
    public int getAge(){
        return this.age;
    }
    public void setColor(String color){
        this.color = color;
    }
    public void setAge(int age){
        this.age =age;
    }
    public void show(){
        System.out.println("颜色"+this.color);
        System.out.println("年龄"+this.age);
    }
}
